<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Universum - Resources:Create a new folder
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
 <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>
	<%
		
		using(Html.BeginForm<ResourceController>( invokeAction=> invokeAction.CreateFolder(null,null))){ %>
	 <fieldset>
	 <p>
		<label for="newFolderName">Folder: </label>
		<input type="text" name="newFolderName" />
		<input type="hidden" name="path" value="<%=TempData["path"] %>" />
		<input type="submit" value="Create folder" />
	 </p>
	 </fieldset>
	<% } %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptPlaceHolder" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="Breadcrumbs" runat="server">
<%= Html.Breadcrumb().Home().Append<ResourceController>(it=>it.Index(""),"Resources").AppendText("Create a new folder").End() %>
</asp:Content>
